﻿<%@ Page Title="" Language="C#" MasterPageFile="~/FrontEnd.Master" AutoEventWireup="true"
    CodeFile="Login.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        #form1 table
        {
            width: 80%;
            margin: auto;
        }
        #form1 tr td:nth-child(1)
        {
            width: 20%;
            height: auto;
            padding-left: 5px;
        }
        #form1 tr td:nth-child(2)
        {
            width: 50%;
            height: auto;
        }
        #form1 tr td:nth-child(3)
        {
            width: 30%;
            height: auto;
        }
        .Text
        {
            width: 80%;
            height: auto;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphdContent" runat="server">
    <div id="form1">
        <div style="border: 1px solid red; height: 300px; margin: 0 auto; padding: 10px;">
            <table>
                <tr>
                    <td>
                        &nbsp;
                        <asp:Label ID="lblUsername" runat="server" Text="Tài khoản:" CssClass="h5"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                        <asp:TextBox class="text" ID="txtUserName" runat="server" CssClass="Text form-control"></asp:TextBox>
                        &nbsp;
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                            ErrorMessage="Bạn chưa nhập tài khoản...!!" ForeColor="Red" CssClass="label label-warning"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                        <asp:Label ID="lblPassword" runat="server" Text="Mật khẩu:" CssClass="h5"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                        <asp:TextBox ID="txtPassword" runat="server" CssClass="Text form-control" TextMode="Password"></asp:TextBox>
                        &nbsp;
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                            ErrorMessage="Bạn chưa nhập mật khẩu...!!" ForeColor="Red" CssClass="label label-warning"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td class="Checkbox">
                        <input id="cbRemember" type="checkbox" />Ghi nhớ mật khẩu.
                    </td>
                    <td class="Checkbox">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                        <asp:Button ID="btnLogin" runat="server" Text="Đăng nhập" CssClass="btn btn-primary btn-normal"
                            OnClick="btnLogin_Click" />
                        <asp:Button ID="btnReset" runat="server" CssClass="btn btn-default btn-normal" Text="Nhập lại" />
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="lblStatus" runat="server" ForeColor="#CC0000"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
